<%--
    Document   : nuevoBloqNR
    Created on : 02-feb-2011, 17:44:29
    Author     : Francis
--%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<% request.setAttribute("allowed", "Gestionar Notificaciones de Riesgo");%>
<%@ include file='../Templates/security.jsp' %>

<html:form action="/nuevoBloqNR" styleClass="formularioNR" styleId="nuevoBloqNRForm">
    <!--<input type="text" class="idNR" value="">
    <input type="text" id="tipoRiesgo" value="">-->
    <div class="answerBloqNR" style="color: red; font-size: 12px;"></div>
    <table>
        <tbody>
            <tr>
                <td colspan="2">
                    <font color="red">
                        <bean:write name="nuevoBloqNRForm" property="error"/>
                        &nbsp;
                    </font>
                </td>
            </tr>
            <!--<tr>
                <td><font color="red">*&nbsp;</font>Tipo Riesgo:</td>
                <td class="tipoRiesgo"></td>
            </tr>-->
            <tr>
                <td colspan="2"><html:hidden property="idNR" styleClass="idNR" value=""/></td>
            </tr>
            <tr>
                <td colspan="2"><html:hidden property="tipo" styleId="tipoRiesgo" value=""/></td>
            </tr>
            <tr>
                <td><font color="red">*&nbsp;</font>Agentes:</td>
                <td><html:textarea property="agentes" cols="30" rows="4"/></td>
            </tr>
            <tr>
                <td><font color="red">*&nbsp;</font>Efectos a la Salud:</td>
                <td><html:textarea property="efectos" cols="30" rows="4"/></td>
            </tr>
            <tr>
                <td><font color="red">*&nbsp;</font>Sistema de Prevención:</td>
                <td><html:textarea property="prevencion" cols="30" rows="4"/></td>
            </tr>
            <tr>
                <td><font color="red">*&nbsp;</font>Medidas de Control:</td>
                <td><html:textarea property="medidasC" cols="30" rows="4"/></td>
            </tr>
        </tbody>
    </table>
    <br>
</html:form>
<script type="text/javascript">
    $('#Tipo').change(function(){
        $(this).parent('#BloqNRContent').html();
        //.siblings('.BloqNRHeader').html($('#Tipo').val());
    });
</script>